<include target="_header.html" />
<load target="js/translation.js" />
<div class="translation">
	<h2 class="m_title">{$lang->project} - {$project_info->project_name}</h2>
	<div class="project_name">
		<a href="{getUrl('','mid', $mid,'act','dispTranslationProjectList','scope',$scope)}"><block cond="$logged_info->is_admin == 'Y' && $scope == 'myProjects'">My project list</block><block cond="!$logged_info->is_admin == 'Y' || $scope != 'myProjects'">All project list</block></a> &gt;&gt; 
		<strong>{$lang->project} "{$project_info->project_name}"</strong>
	</div>
	<div class="info_tbl project">
		<table cellpadding="0" cellspacing="0">
		<caption class="blind">Project List</caption>
		<colgroup>
		<col width="13%" />
		<col width="36%" />
		<col width="30%" />
		<col width="19%" />
		</colgroup>
		<thead>
		<tr>
		<th scope="col" style="width:13%">{$lang->language}</th>
		<th scope="col" style="width:36%">{$lang->percentage}</th>
		<th scope="col" style="width:30%">{$lang->summary}</th>
		<th scope="col" style="width:19%"><a href="{getUrl('','mid',$mid,'act','dispTransProLangInfo','translation_project_srl',$translation_project_srl,'member_srl',$member_srl,'sort_target','last_update','sort_type',$sort_type)}">{$lang->recent_update}</a></th>
		</tr>
		</thead>
		<tbody>
		<tr loop="$p_lang_list => $lang_key, $val">
		<td class="first"><a href="{getUrl('','mid',$mid,'act','dispTranslationFileList','translation_project_srl',$translation_project_srl, 'select_lang',$lang_key,'scope',$scope)}" class="lang_{$lang_key}">{$val['item']->name}</a></td>
		<td class="percentage">
			<div cond="!$val['item']->no_files" class="track">
				<span cond="$val['item']->perc_approved > 0" class="color_1">{$val['item']->perc_approved}%</span><span cond="$val['item']->perc_notApproved > 0" class="color_2">{$val['item']->perc_notApproved}%</span><span cond="$val['item']->perc_notTranslated > 0" class="color_3">{$val['item']->perc_notTranslated}%</span>
			</div>
			<div cond="$val['item']->no_files" class="track"><span >no files</span></div>
		</td>
		<td>{$lang->translated} {$val['item']->trans_count}, {$lang->need_approve} {$val['item']->no_approved_count}</td>
		<td>{$val['item']->last_update}<block cond="!$val['item']->last_update">No update</block></td>
		</tr>
		</tbody>
		</table>
	</div>
	<div class="color_dsc">
		<dl>
		<dt><span class="color_1"></span></dt><dd>{$lang->translated}</dd>
		<dt><span class="color_2"></span></dt><dd>{$lang->no_approved}</dd>
		<dt><span class="color_3"></span></dt><dd>{$lang->no_translated}</dd>
		</dl>
	</div>
</div>

